package com.design;

/**
 * 珍珠奶茶
 */
public class PearlMilkTea extends MilkTeaAbstract {

    public PearlMilkTea(IMilkTea milkTea) {
        super(milkTea);
    }

    @Override
    public String desc() {
        return milkTea.desc()+",加珍珠";
    }

    @Override
    public int cost() {
        return milkTea.cost()+2;
    }
}
